module.exports = {
  SUCCESS: { code: 20000 },

  STU_LOGIN_NULL: { code: 10411, msg: '账号或密码不能为空' },
  STU_LOGIN_FAIL: { code: 10411, msg: '账号或密码错误' },
  STU_LOGIN_OPENID_NULL: { code: 10411, msg: 'openID不能为空'},

  WECHAT_NEED_BIND: {  code: 10000, msg: '此openid未绑定账号' },
  WECHAT_BIND_SUCCESS: { code: 20000, msg: '绑定openid成功' },
  WECHAT_BIND_LIMIT: { code: 10000, msg: '绑定失败，账号绑定达到上限' },
  WECHAT_BIND_REPEAT: { code: 10000, msg: '绑定失败，此openid已绑定账号'},

  TOKEN_FAIL: {code: 50008, message: '用户身份失效 请重新登录'}
};
